<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul{
            display: flex;
        }
        li{
            margin-right: 20px;
            list-style: none;
        }
        img{
            width: 100px;
        }
    </style>
</head>
<body>
    <div id="app">
        <div v-if='ishide'>
            <button @click="shen()">升序</button>
            <button @click="jiang()">降序</button>
        </div>
        <data-list v-if='ishide' :school="school"></data-list>
        <button v-if='ishide' @click="add()">添加商品</button>
        <div v-if='isdiv' id="add">
            <span>商品名称：</span><input id="uname" type="text"><br>
            <span>图片地址：</span><input id="url" type="text"><br>
            <span>商品价格：</span><input id="num" type="text"><br>
            <button @click="qx()">返回</button>
            <button @click="qr()">确认</button>
        </div>
    </div>
    <script src="./node_modules/axios/dist/axios.js"></script>
    <script src="./node_modules/vue/dist/vue.js"></script>
    <script src="./js/zuoye3.js"></script>
</body>
</html>